package com.usian.skill.service.impl;

import com.baomidou.mybatisplus.core.injector.methods.SelectList;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.usian.skill.mapper.GoodsMapper;
import com.usian.skill.pojo.Goods;
import com.usian.skill.service.GoodsService;
import com.usian.skill.vo.GoodsVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

@Service
public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements GoodsService {
    @Resource
    private GoodsMapper goodsMapper;

    @Override
    public List<GoodsVo> qclist() {

        return goodsMapper.qclist();
    }



    @Override
    public GoodsVo getgoodsvobyid(Long id) {
        return goodsMapper.huixian(id);
    }
}
